<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>黑马面面</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <script src="js/flexible.js"></script>
    <!-- <script src="js/swiper.js"></script> -->
</head>
<body>
    <section class="wrap">
        <header class="header">黑马面面</header>
        <div class="nav">
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>HR面试</h5>
            </a>
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>模拟面试</h5>
            </a>
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>面试技巧</h5>
            </a>
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>薪资查询</h5>
            </a>
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>笔试</h5>
            </a>
            <a href="">
                <span><img src="icons/icon1.png" alt=""></span>
                <h5>技术面试</h5>
            </a>
        </div>
        <div class="go">
            <img src="images/go.png" alt="">
        </div>
    </section>
    <!-- 就业指导模块 -->
    <div class="contant">
        <!-- 头部模块：可重复利用 -->
        <div class="con_hd">
            <h4 class="zhidao">就业指导</h4>
            <a href="#">更多》</a>
        </div>
        <div class="con_bd">
            <!-- Swiper -->
            <div class="swiper-container job_info">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="images/pic.png" alt="">
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/2.jpg" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="images/3.jpg" alt="">
                    </div>
                </div>
                <!-- Add Pagination -->
                <!-- 分页器，此处不需要<div class="swiper-pagination"></div> -->
            </div>
            <!-- 将左右按钮放置到盒子外侧，定位时才不会被contaniner盒子切掉； -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </div>
    <!-- 学习模块 -->
    <div class="study">
        <!-- 头部模块：可重复利用 -->
        <div class="con_hd ">
            <h4 class="jiuye">充电学习</h4>
            <a href="#">更多》</a>
        </div>
        <div class="study_bd">
             <!-- Swiper -->
            <div class="swiper-container study_info">
                <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="images/pic1.png" alt="">
                    <p>说地道英语,告别中式英语</p>
                    <p><a href=""> 156</a>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="images/pic2.png" alt="">
                    <p>说地道英语,告别中式英语</p>
                    <p><a href=""> 156</a>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="images/pic1.png" alt="">
                    <p>说地道英语,告别中式英语</p>
                    <p><a href=""> 156</a>人学习</p>
                </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部导航 -->
    <div class="footNav">
        <ul>
            <li>
                <span><img src="icons/home.png" alt=""></span>
                <h5>首页</h5>
            </li>
            <li>
                <span><img src="icons/net.png" alt=""></span>
                <h5>技术面试</h5>
            </li>
            <li>
                <span><img src="icons/ms.png" alt=""></span>
                <h5>模拟面试</h5>
            </li>
            <li>
                <span><img src="icons/user.png" alt=""></span>
                <h5>我的面试</h5>
            </li>
        </ul>
    </div>
</body>
 <!-- Swiper JS -->
 <!-- 放在下面的原因：未知 -->
  <script src="js/swiper.min.js"></script>
 <!-- Initialize Swiper -->
 <script>

    (function(){
            var swiper = new Swiper('.job_info', {  
            slidesPerView: 2,//同时显示的cade模式，3个显示不全故修改
            spaceBetween: -30,//slide之间的间距
            centeredSlides: true,
            loop: true,
            // pagination: {
            // el: '.swiper-pagination',
            // clickable: true,
            // },//分页器，需要替换掉
            navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
        },//该部分需要直接填充到立即执行函数一中，不需要再写一个，原因未知；
        });
    })();

    (function(){
        var swiper = new Swiper(".study_info", {
            slidesPerView: 2.2,
            spaceBetween: 0,
            pagination: {
            el: ".swiper-pagination",
            clickable: true,
        },
      });
    })()
  </script>
</html>